//
//  BusinessViewController.h
//  We365
//
//  Created by Pham Khuong Duy on 12/13/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Item.h"

@interface BusinessViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
{
    Item *item;
    UIButton *buttonCall;
    UIButton *buttonWeb;
    UIButton *buttonMap;
    UIButton *buttonFavourite;
    UITableView *table;    
}
@property (nonatomic, retain) IBOutlet UITableView *table;
@property (nonatomic, retain) Item *item;
@property (nonatomic, retain) IBOutlet UIButton *buttonCall;
@property (nonatomic, retain) IBOutlet UIButton *buttonWeb;
@property (nonatomic, retain) IBOutlet UIButton *buttonMap;
@property (nonatomic, retain) IBOutlet UIButton *buttonFavourite;

- (id)initWithItem:(Item *)i;
- (IBAction)makeCall:(id)sender;
- (IBAction)showWeb:(id)sender;
- (IBAction)addFavourite:(id)sender;
- (IBAction)showMap:(id)sender;
@end
